package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.TravelLike;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface ITravelLikeService {


    void delete(TravelLike travelLike);

    void like(TravelLike travelLike);

    TravelLike getLike(TravelLike travelLike);


    Integer getLikeCount(Long travelId);
    int getTravelLikeNum(Long id, boolean isRead);

    void changeLikeIsReadById(Long id, boolean b);

    PageInfo<TravelLike> getTravelLikeIMes(QueryObject qo);
}
